package com.ksd.modules.download.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ksd.commons.AbstractBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("xk_downloads_code")
@SuperBuilder(toBuilder = true)
@ApiModel(value = "AdminDowmloadsCode", description = "下载资源兑换码")
public class AdminDownloadsCode extends AbstractBaseEntity {
    @ApiModelProperty("对应资源ID")
    private Long opid;
    @ApiModelProperty("兑换码")
    private String code;
    @ApiModelProperty("标识1已被使用 0未被使用")
    private Integer mark;
}
